package ${info.baseMapperPackage};

import org.apache.ibatis.annotations.Param;
import java.util.List;

/**
* @author abel.lin
* @date_time ${.now?string("yyyy-MM-dd HH:mm")}
* @description
*/
public interface ${info.baseMapper}<T,C> {
    int countByExample(C example);

    int deleteByExample(C example);

    int deleteByPrimaryKey(String id);

    int insert(T record);

    int insertSelective(T record);

    List<T> selectByExample(C example);

    T selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") T record, @Param("example") C example);

    int updateByExample(@Param("record") T record, @Param("example") C example);

    int updateByPrimaryKeySelective(T record);

    int updateByPrimaryKey(T record);
}
